﻿namespace FiftyOne.Foundation.Mobile.Detection.Wurfl
{
    using System;

    internal static class Constants
    {
        internal const string ActualDeviceRoot = "actual_device_root";
        internal static readonly string[] Audio_Formats = new string[] { 
            "rmf", "qcelp", "awb", "smf", "wav", "nokia_ringtone", "aac", "digiplug", "sp_midi", "compactmidi", "mp3", "mld", "evrc", "amr", "xmf", "mmf", 
            "imelody", "midi_monophonic", "au", "midi_polyphonic"
         };
        internal const string CapabilityNodeName = "capability";
        internal const string CreatedDate = "Created";
        internal static readonly string[] DefaultDeviceId = new string[] { "generic_web_browser", "generic" };
        internal static readonly string[] DefaultUsedCapabilities = new string[] { 
            "is_wireless_device", "max_image_height", "max_image_width", "resolution_height", "resolution_width", "colors", "cookie_support", "built_in_back_button_support", "table_support", "access_key_support", "model_name", "brand_name", "marketing_name", "xhtmlmp_preferred_mime_type", "html_wi_oma_xhtmlmp_1_0", "html_wi_w3_xhtmlbasic", 
            "html_web_3_2", "html_wi_imode_compact_generic", "wml_1_2", "has_pointing_device", "pointing_method", "chtml_table_support", "xhtml_table_support", "device_os", "mobile_browser_version", "uaprof", "uaprof2", "uaprof3", "physical_screen_width", "physical_screen_height", "viewport_supported", "mobileoptimized", 
            "handheldfriendly", "css_supports_width_as_percentage", "css_spriting", "css_gradient", "css_border_image", "css_rounded_corners", "rmf", "qcelp", "awb", "smf", "wav", "nokia_ringtone", "aac", "digiplug", "sp_midi", "compactmidi", 
            "mp3", "mld", "evrc", "amr", "xmf", "mmf", "imelody", "midi_monophonic", "au", "midi_polyphonic"
         };
        internal const string DeviceNodeName = "device";
        internal const int EstimateNumberOfDevices = 0x36b0;
        internal const string FallbackAttributeName = "fall_back";
        internal const string IdAttributeName = "id";
        internal const string NameAttributeName = "name";
        internal const int NewURLTimeOut = 0x1388;
        internal const string UserAgentAttributeName = "user_agent";
        internal const string ValueAttributeName = "value";
        internal const string WurflFileNotFound = "The WURFL XML file was not found, check the file path and try again.";
        internal const string WurflNewDeviceXMLException = "The device '{0}' could not be written to '{1}'.";
    }
}

